package cn.abcsys.cloud.devops.pipeline.entity;

import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.DateSerializer;

public class Task {
	private Integer taskId;
	private String taskName;
	private String repositoryUrl;
	private String repositoryUser;
	private String repositoryPwd;
	private String repositoryType;
	private String branckSpecifier;
	private String jenkinsUrl;
	private String jenkinsUser;
	private String jenkinsPwd;
	private String jenkinsJobName;
	private String jenkinsBuildPath;
	private Byte taskStatus;
	private Integer buildTimes;
	private Byte sonarEnable;
	private Byte clairEnable;
	private Byte taskStage;
	@JsonSerialize(using = DateSerializer.class)
	private Date taskCreatetime;
	private Integer taskCreator;
	private Integer projectId;
	private String Dockerfile;
	private Byte buildImageInJenkins;
	private Byte pushImageInJenkins;
	private String registryUrl;
	private Integer registryId;
	@JsonSerialize(using = DateSerializer.class)
	private Date lastBuildTime;
	private String projectName;
	private Integer envId;
	public Integer getTaskId() {
		return taskId;
	}
	public void setTaskId(Integer taskId) {
		this.taskId = taskId;
	}
	public String getTaskName() {
		return taskName;
	}
	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}
	public String getRepositoryUrl() {
		return repositoryUrl;
	}
	public void setRepositoryUrl(String repositoryUrl) {
		this.repositoryUrl = repositoryUrl;
	}
	public String getRepositoryType() {
		return repositoryType;
	}
	public void setRepositoryType(String repositoryType) {
		this.repositoryType = repositoryType;
	}
	public String getBranckSpecifier() {
		return branckSpecifier;
	}
	public void setBranckSpecifier(String branckSpecifier) {
		this.branckSpecifier = branckSpecifier;
	}
	public String getJenkinsUrl() {
		return jenkinsUrl;
	}
	public void setJenkinsUrl(String jenkinsUrl) {
		this.jenkinsUrl = jenkinsUrl;
	}
	public String getJenkinsUser() {
		return jenkinsUser;
	}
	public void setJenkinsUser(String jenkinsUser) {
		this.jenkinsUser = jenkinsUser;
	}
	public String getJenkinsPwd() {
		return jenkinsPwd;
	}
	public void setJenkinsPwd(String jenkinsPwd) {
		this.jenkinsPwd = jenkinsPwd;
	}
	public String getJenkinsJobName() {
		return jenkinsJobName;
	}
	public void setJenkinsJobName(String jenkinsJobName) {
		this.jenkinsJobName = jenkinsJobName;
	}
	public String getJenkinsBuildPath() {
		return jenkinsBuildPath;
	}
	public void setJenkinsBuildPath(String jenkinsBuildPath) {
		this.jenkinsBuildPath = jenkinsBuildPath;
	}
	public Byte getTaskStatus() {
		return taskStatus;
	}
	public void setTaskStatus(Byte taskStatus) {
		this.taskStatus = taskStatus;
	}
	public Integer getBuildTimes() {
		return buildTimes;
	}
	public void setBuildTimes(Integer buildTimes) {
		this.buildTimes = buildTimes;
	}
	public Byte getTaskStage() {
		return taskStage;
	}
	public void setTaskStage(Byte taskStage) {
		this.taskStage = taskStage;
	}
	public Date getTaskCreatetime() {
		return taskCreatetime;
	}
	public void setTaskCreatetime(Date taskCreatetime) {
		this.taskCreatetime = taskCreatetime;
	}
	public Integer getTaskCreator() {
		return taskCreator;
	}
	public void setTaskCreator(Integer taskCreator) {
		this.taskCreator = taskCreator;
	}
	public Integer getProjectId() {
		return projectId;
	}
	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}
	public Byte getSonarEnable() {
		return sonarEnable;
	}
	public void setSonarEnable(Byte sonarEnable) {
		this.sonarEnable = sonarEnable;
	}
	public Byte getClairEnable() {
		return clairEnable;
	}
	public void setClairEnable(Byte clairEnable) {
		this.clairEnable = clairEnable;
	}
	public String getRepositoryUser() {
		return repositoryUser;
	}
	public void setRepositoryUser(String repositoryUser) {
		this.repositoryUser = repositoryUser;
	}
	public String getRepositoryPwd() {
		return repositoryPwd;
	}
	public void setRepositoryPwd(String repositoryPwd) {
		this.repositoryPwd = repositoryPwd;
	}
	public String getDockerfile() {
		return Dockerfile;
	}
	public void setDockerfile(String dockerfile) {
		Dockerfile = dockerfile;
	}
	public Byte getBuildImageInJenkins() {
		return buildImageInJenkins;
	}
	public void setBuildImageInJenkins(Byte buildImageInJenkins) {
		this.buildImageInJenkins = buildImageInJenkins;
	}
	public Byte getPushImageInJenkins() {
		return pushImageInJenkins;
	}
	public void setPushImageInJenkins(Byte pushImageInJenkins) {
		this.pushImageInJenkins = pushImageInJenkins;
	}
	public String getRegistryUrl() {
		return registryUrl;
	}
	public void setRegistryUrl(String registryUrl) {
		this.registryUrl = registryUrl;
	}
	public Integer getRegistryId() {
		return registryId;
	}
	public void setRegistryId(Integer registryId) {
		this.registryId = registryId;
	}
	public Date getLastBuildTime() {
		return lastBuildTime;
	}
	public void setLastBuildTime(Date lastBuildTime) {
		this.lastBuildTime = lastBuildTime;
	}
	public String getProjectName() {
		return projectName;
	}
	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}
	public Integer getEnvId() {
		return envId;
	}
	public void setEnvId(Integer envId) {
		this.envId = envId;
	}
}
